package com.richest.api.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.BanquetBaseMapper;
import com.richest.api.service.IBanquetBaseService;
import com.richest.bean.BanquetBaseBean;

/**
 * 企业桌基本信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class BanquetBaseServiceImpl implements IBanquetBaseService {

	@Autowired
	private BanquetBaseMapper mapper;

	@Override
	public Integer banquetBaseAdd(BanquetBaseBean bean) {
		return mapper.banquetBaseAdd(bean);
	}

	@Override
	public Integer banquetBaseUpdate(BanquetBaseBean bean) {
		return mapper.banquetBaseUpdate(bean);
	}

	@Override
	public Integer banquetBaseDelete(Long id) {
		return mapper.banquetBaseDelete(id);
	}

	@Override
	public BanquetBaseBean banquetBaseSelectOne(Long id) {
		return mapper.banquetBaseSelectOne(id);
	}

	@Override
	public List<Map<String, Object>> banquetBaseSelectMap(Map<String, Object> params) {
		return mapper.banquetBaseSelectMap(params);
	}
}
